package com.tiancheng.trade.payment.channel.bo;

import lombok.Data;

/**
 * @Author: likailun
 * @Description: 苹果支付，消息回调
 * @Date: create in 2022/6/13 10:26 上午
 */
@Data
public class AppleNotifications {

    /**
     * 消息类型
     */
    private String notificationType;
    /**
     * The unique identifier of the app that the notification applies to. This property is available for apps that are downloaded from the App Store; it isn’t present in the sandbox environment.
     */
    private String appAppleId;

    /**
     * The bundle identifier of the app.
     */
    private String  bundleId;

    /**
     * The version of the build that identifies an iteration of the bundle.
     */
    private String bundleVersion;

    /**
     * The server environment that the notification applies to, either sandbox or production.
     */
    private String environment;

    // 目前用不到
    //private AppleSignedRenewalInfo signedRenewalInfo;
    /**
     * Transaction information signed by the App Store, in JSON Web Signature format.
     */
    private AppleSignedTransactionInfo signedTransactionInfo;

}
